package net.mgsx.product.t2m.modisco;
import org.eclipse.gmt.modisco.java.AbstractTypeDeclaration;
import org.eclipse.gmt.modisco.infra.query.core.exception.ModelQueryExecutionException;
import org.eclipse.gmt.modisco.infra.query.core.java.IJavaModelQuery;
import org.eclipse.gmt.modisco.infra.query.core.java.ParameterValueList;

public class CallHierarchy implements IJavaModelQuery<AbstractTypeDeclaration, Double> {
	public Double evaluate(final AbstractTypeDeclaration context, final ParameterValueList parameterValues)
			throws ModelQueryExecutionException {
		
//		for(int i= 0 ; i<context.getBodyDeclarations().size() ; i++){
//			
//		}
		
		return context.getBodyDeclarations().size() * 100.0;
	}
}
